package com.xwaf.platform.system.api.entity.mqtt;

import java.io.Serializable;

import lombok.Data;

@Data
public class IMUser implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long uid;

	private String nickname;

	private String avatarUrl;

	private Integer level;

	public static IMUser getSysUser() {
		IMUser userMessage = new IMUser();
		userMessage.setUid(0L);
		userMessage.setAvatarUrl("");
		userMessage.setNickname("系统管理员");
		userMessage.setLevel(99);
		return userMessage;
	}
}
